package com.sky.edumanageapi.comment.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CommentVO {
    Integer commentId;
    @ApiModelProperty(value = "用户id")
    Integer userId;
    @ApiModelProperty(value = "课程id")
    Integer courseId;
    @ApiModelProperty(value = "评论内容")
    String content;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    Date updateTime;
}
